<!DOCTYPE html>
<html lang="en" ng-app="routerApp">
    <head>
        <meta charset="utf-8" />
		<meta name="renderer" content="webkit">	
		<meta name="viewport" content="width=device-width, initial-scale=1">  
		<meta http-equiv="X-UA-Compatible" content="IE=edge">  
        <title>国税三方纳税管理</title>
        <link rel="stylesheet" href="../../bowercss/bowercss.css" />
        <link rel="stylesheet" href="../../css/index.css">
        <link rel="stylesheet" href="../../css/toast.min.css">
        <link rel="icon" type="image/png" sizes="16x16" href="../../imgs/favicon.ico">
        <script  type="text/javascript"  src="../../bowerjs/bowerjs.js"></script>
        <link rel="stylesheet" href="../../css/toast.min.css">
        <!-- <link rel="stylesheet" href="../../js/zTree/css/demo.css" type="text/css">-->
        <link rel="stylesheet" href="../../js/zTree/css/zTreeStyle/zTreeStyle.css" type="text/css">
        <script type="text/javascript"  src="../../js/app.js" ></script>
        <script type="text/javascript"  src="../../js/controller.js" ></script>
        <script type="text/javascript"  src="../../js/directive.js" ></script>
        <script type="text/javascript"  src="../../js/filter.js" ></script>
       
        <script type="text/javascript"  src="../../js/My97DatePicker/WdatePicker.js" ></script>
        <script type="text/javascript" src="../../js/html5shiv.min.js"></script>
        <script type="text/javascript" src="../../js/respond.js"></script>
        <script type="text/javascript" src="../../js/angular-animate.min.js"></script>
        <script type="text/javascript" src="../../js/toaster.min.js"></script>
        <script type="text/javascript" src="../../js/zTree/js/jquery.ztree.core-3.5.js"></script>
        <script type="text/javascript"  src="../../js/md5.js" ></script>
    </head>
    <body>
    <div class="container" style="width: 90%;min-width:1170px;"><!--class="container-fluid"-->
        <div class="index_head" ng-controller="headController">
            <div style="width: 100%;height:30px;background-color: #fbfbfb;">
            	<div  style="width:auto;float: right;height: 30px;line-height: 30px;">
            		{{userOfficeAbbr}}
            		<div class="dropdown" style="float: right;">
            			
            			<button type="button" class="btn dropdown-toggle" id="dropdownMenu1" data-toggle="dropdown" style="background-color: #fbfbfc;height: 30px;margin-top: -6px;">
            				{{nickname}}
            		        <!--<span class="caret"></span>-->
            		    </button>
            			<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu1" style="float: right;">
            				<li role="presentation" ng-if="type=='SUPER_ADMIN'">
            					<a role="menuitem" tabindex="-1" href="#/user">用户管理</a>
            				</li>
            				<li role="presentation" >
            					<a role="menuitem" tabindex="-1" href="#/user">修改密码</a>
            				</li>
            				
            				<li role="presentation">
            					<a role="menuitem" tabindex="-1" href="#" ng-click="logout()">退出</a>
            				</li>
            			</ul>
            		</div>
            	</div>
            	<div id="currentDate" style="line-height: 30px;float: right;margin-right: 10px;"></div>
            	
            </div>
            <div class="title_right" >
            	<img src="../../imgs/logo.jpg" >
            </div>
             <!--<div style="float:right">
    			<embed src="../../imgs/clock.swf" style=" height:70px; width:180px"></embed>
    		</div>-->
            <div class="menu">
            	<ul class="nav" >
					<li><a href="#/index" ng-class="{'navactive':(indexSZ==1)}"  >主页</a></li>
					<li><a href="#/tax-yz" ng-class="{'navactive':(indexSZ==2)}" >税务查询</a></li>
					<li><a href="#/tax-check" ng-class="{'navactive':(indexSZ==3)}">入库对账</a></li>
					<li><a href="#/tax-schedule" ng-class="{'navactive':(indexSZ==4)}">税务统计</a></li>
				</ul>
            </div>

        </div>
        <div style="min-width:1170px;">
        	<div ui-view=""></div>
        </div>
     </div>    
    <!--<div class="footer" 
		<span >技术支持：山东展鸿信息科技有限公司</span>
	</div>-->
    </body>
</html>
<script>
	/*获取当前日期*/  
function getCurrentDateTime() {  
    var d = new Date();  
    var year = d.getFullYear();  
    var month = d.getMonth() + 1;  
    var date = d.getDate();  
    var week = d.getDay();  
    /*时分秒*/  
    /*var hours = d.getHours(); 
    var minutes = d.getMinutes(); 
    var seconds = d.getSeconds(); 
    var ms = d.getMilliseconds();*/  
    var curDateTime = year;  
    if (month > 9)  
        curDateTime = curDateTime + "年" + month;  
    else  
        curDateTime = curDateTime + "年0" + month;  
    if (date > 9)  
        curDateTime = curDateTime + "月" + date + "日";  
    else  
        curDateTime = curDateTime + "月0" + date + "日";  
    /*if (hours > 9) 
        curDateTime = curDateTime + " " + hours; 
    else 
        curDateTime = curDateTime + " 0" + hours; 
    if (minutes > 9) 
        curDateTime = curDateTime + ":" + minutes; 
    else 
        curDateTime = curDateTime + ":0" + minutes; 
    if (seconds > 9) 
        curDateTime = curDateTime + ":" + seconds; 
    else 
        curDateTime = curDateTime + ":0" + seconds;*/  
    var weekday = "";  
    if (week == 0)  
        weekday = "星期日";  
    else if (week == 1)  
        weekday = "星期一";  
    else if (week == 2)  
        weekday = "星期二";  
    else if (week == 3)  
        weekday = "星期三";  
    else if (week == 4)  
        weekday = "星期四";  
    else if (week == 5)  
        weekday = "星期五";  
    else if (week == 6)  
        weekday = "星期六";  
    curDateTime = curDateTime + " " + weekday;  
    return curDateTime;  
}  
$(function(){      
    var date = getCurrentDateTime();
    $("#currentDate").text( date );  
});


</script>